﻿using Socium.Domain.Persons;
using Socium.Domain.Tests;
using Socium.Domain.Tests.Testings;

namespace Socium.Testings {
	class NoVariantTreeItem : MultipleVariantTreeItemBase {
		public NoVariantTreeItem(Question question, string display_name) : base(display_name) {
			_question = question;
		}

		readonly Question _question; 
		
		public override void Save(Person person, Testing testing) {
			testing.RemoveAnswers(person, _question);
		}

		public override void Load(Person person, Testing testing) {
			// Do nothing
		}
	}
}
